package com.ruoyi.ordersubscriberefundrecord.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【退单记录】对象 order_subscribe_refund_record
 * 
 * @author ruoyi
 * @date 2025-07-14
 */
public class OrderSubscribeRefundRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 订单ID */
    @Excel(name = "订单ID")
    private String orderId;

    /** 退款数量 */
    @Excel(name = "退款数量")
    private Long refundQuantity;

    /** 本次退款金额 */
    @Excel(name = "本次退款金额")
    private BigDecimal refundAmount;

    /** 微信退款单号 */
    @Excel(name = "微信退款单号")
    private String weChatRefundOrderNo;

    /** 商户退款单号 */
    @Excel(name = "商户退款单号")
    private String outRefundNo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }

    public void setRefundQuantity(Long refundQuantity) 
    {
        this.refundQuantity = refundQuantity;
    }

    public Long getRefundQuantity() 
    {
        return refundQuantity;
    }

    public void setRefundAmount(BigDecimal refundAmount) 
    {
        this.refundAmount = refundAmount;
    }

    public BigDecimal getRefundAmount() 
    {
        return refundAmount;
    }

    public void setWeChatRefundOrderNo(String weChatRefundOrderNo) 
    {
        this.weChatRefundOrderNo = weChatRefundOrderNo;
    }

    public String getWeChatRefundOrderNo() 
    {
        return weChatRefundOrderNo;
    }

    public void setOutRefundNo(String outRefundNo) 
    {
        this.outRefundNo = outRefundNo;
    }

    public String getOutRefundNo() 
    {
        return outRefundNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("refundQuantity", getRefundQuantity())
            .append("refundAmount", getRefundAmount())
            .append("weChatRefundOrderNo", getWeChatRefundOrderNo())
            .append("outRefundNo", getOutRefundNo())
            .append("createTime", getCreateTime())
            .toString();
    }
}
